package eu.scillman.net.udp;

import java.net.DatagramSocket;
import java.net.SocketException;
import java.util.List;

import eu.scillman.interfaces.ICommConstants;
import eu.scillman.net.ConnectedMember;
import eu.scillman.net.INetEngine;
import eu.scillman.net.IServer;
import eu.scillman.net.Member;

public class ServerEngine extends ConnectionBase implements INetEngine, IServer  {

	/**
	 * {@inheritDoc}
	 */
	@Override
	protected DatagramSocket getSocket() throws SocketException {
		return new DatagramSocket(ICommConstants.THEATER_PORT);
	}

	@Override
	public void run() {
		// TODO Auto-generated method stub
	}

	@Override
	public void send(String data) {
		// TODO Auto-generated method stub
	}
	
	@Override
	public byte[] receive() {
		return null; // TODO Auto-generated method stub
	}

	@Override
	public void bind(Member localAddress) {
		// TODO Auto-generated method stub
	}

	@Override
	public void listen() {
		// TODO Auto-generated method stub
	}

	@Override
	public void shutdown() {
		// TODO Auto-generated method stub
	}

	@Override
	public List<ConnectedMember> getMembers() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void abort() {
		// TODO Auto-generated method stub
	}

	@Override
	public boolean hold() {
		// TODO Auto-generated method stub
		return false;
	}
}
